var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/index/topbar',(req, res, next)=>{
  res.send({
    "code": 0,
    "data": {
      "topbar": [
        {"id":0,"name":"推荐","english":"recommend","key": false},
        {"id":1,"name":"国际美妆","english":"InternationalBeauty","key": false},
        {"id":2,"name":"国际运动","english":"InternationalMovement","key": false},
        {"id":3,"name":"国潮运动","english":"NationalTideMovement","key": false},
        {"id":4,"name":"户外运动","english":"OutdoorSports","key": false},
        {"id":5,"name":"女装内衣","english":"Ladieswear","key": false},
        {"id":6,"name":"国际名品","english":"InternationalFamousBrand","key": false},
        {"id":7,"name":"男装","english":"Menswear","key": false},
        {"id":8,"name":"鞋靴","english":"Shoes","key": false},
        {"id":9,"name":"母婴儿童","english":"Parenting","key": false}
      ]
    }
  })
});

router.get('/index/recommend',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":0,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/InternationalBeauty',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":1,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/InternationalMovement',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":2,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/NationalTideMovement',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":3,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/OutdoorSports',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":4,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/Ladieswear',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":5,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/InternationalFamousBrand',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":6,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/Menswear',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":7,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/Shoes',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":8,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

router.get('/index/Parenting',(req,res,next)=>{
  res.send({
    "code": 0,
    "data": {
      "id":9,
      "key": true,
      "swiper": ["https://img01.yzcdn.cn/upload_files/2023/03/31/Fh8dzewxhWarHDvFXvLWz1a7FZLi.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/31/FvffHzPugauhswl-5e0scLkWrhtQ.jpg!large.webp",
                "https://img01.yzcdn.cn/upload_files/2023/03/30/Fr1UOOeG8FvDe6CdOfnz4SXmcX7B.jpg!large.webp"],
      "discount": {
        "big": "https://img01.yzcdn.cn/upload_files/2023/07/12/FuqE_Jl3F2CoMkyHWPdQ3lnW1STP.png!large.webp",
        "small": ["https://img01.yzcdn.cn/upload_files/2023/07/12/FuuTUrq8D3w4uGIrqttR-Q8vpQci.png!large.webp",
                  "https://img01.yzcdn.cn/upload_files/2023/07/12/Fkst3QdGFJ4j8CgPRttL9Jrzi6sC.png!large.webp"],
      },
      "hwydgoods": ["https://img01.yzcdn.cn/upload_files/2023/06/01/FtlG96N3vQoMkVeRTxG9W5zmw4KM.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/05/19/FqU5W2acxYqyZHLsvKbxRu36440z.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/FoAaDAFgn63z4DfLBqGVlu4Dwylo.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/24/Ftf7rGLrWTkXcFv4qEk93BnDkcGH.jpg!large.webp",
                    "https://img01.yzcdn.cn/upload_files/2023/07/26/FrJ69rCDdFE2rZmuK6DCXBe8G3w1.jpg!large.webp"
      ],
      "commodityList": [
        {"img":"https://img01.yzcdn.cn/upload_files/item_watermark/2023/07/19/df323f58251b599d540efa4d1f97440d.jpg!middle.webp",
        "name":"（X）【自营】U.S.POLO 连帽卫衣 US3700",
        "price":"142",
        "discount":"7"}
      ]
    }
  })
})

module.exports = router;
